package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@TableName(value = "t_questions_category", autoResultMap = true)
public class QuestionsCategoryDO {

    @Field(name = "id", type = FieldType.Text)
    @TableId(type = IdType.AUTO)
    private  Integer id;
    @Field(name = "type", type = FieldType.Text)
    //1:人工智能  2:移动应用  3:机器人  4:大数据
    private  Integer type;

}
